var _0x6f47 = ['$siteMenubar', '#admui-navTabs\x20.site-menu', '_bind', 'body', 'mouseenter.site.menu', '.site-menu-item', 'site-menubar-fold', '.has-sub', 'length', 'position', 'children', '.site-menu-sub', 'addClass', 'hover', 'mouseleave.site.menu', 'hasClass', 'css', 'max-height', 'removeClass', 'deactive.site.menu', '.site-menu-item.active', 'active', 'active.site.menu', 'open.site.menu', '_expand', 'open', 'closest', 'siblings', '.open', 'close.site.menu', '.site-menu-item.open', '_collapse', '.site-menu-item\x20>\x20a', 'trigger', 'div.tab-pane', 'find', 'li.open', 'touchend.site.menu', '>\x20.site-menu-item\x20>\x20a', 'parent', '.hover', 'scroll.site.menu', 'stopPropagation', 'slideUp', 'speed', 'collapsed.site.menu', 'slideDown', 'li.active', 'top', '#admui-navTabs', 'outerHeight', '>\x20a', 'site', 'menubar', 'foldAlt', 'site-menu-sub-up', 'menu'];
(function(_0x5f2be7, _0x280d9c) {
	var _0x4e7cf0 = function(_0x203480) {
		while(--_0x203480) {
			_0x5f2be7['push'](_0x5f2be7['shift']());
		}
	};
	_0x4e7cf0(++_0x280d9c);
}(_0x6f47, 0xaa));
var _0x76f4 = function(_0xb1e158, _0x293f22) {
	_0xb1e158 = _0xb1e158 - 0x0;
	var _0x17aee3 = _0x6f47[_0xb1e158];
	return _0x17aee3;
};
(function(_0x586cec, _0x2d4494, _0x56d142) {
	'use strict';
	_0x56d142['site'][_0x76f4('0x0')] = {
		'speed': 0xfa,
		'accordion': !![],
		'init': function() {
			var _0xc5dddc = this[_0x76f4('0x1')] = _0x56d142(_0x76f4('0x2'));
			if(!_0xc5dddc['length']) {
				return;
			}
			this[_0x76f4('0x3')]();
		},
		'_bind': function() {
			var _0xfc2405 = this,
				_0x2176a7 = _0x56d142(_0x76f4('0x4')),
				_0x497f99 = this[_0x76f4('0x1')];
			_0x497f99['on'](_0x76f4('0x5'), _0x76f4('0x6'), function() {
				var _0x101f55 = _0x56d142(this),
					_0x4c6b5c = _0x2176a7['hasClass'](_0x76f4('0x7'));
				if(_0x4c6b5c === !![] && _0x101f55['is'](_0x76f4('0x8')) && _0x101f55['parent']('.site-menu')[_0x76f4('0x9')]) {
					_0xfc2405[_0x76f4('0xa')](_0x101f55, _0x101f55[_0x76f4('0xb')](_0x76f4('0xc')));
				}
				_0x101f55[_0x76f4('0xd')](_0x76f4('0xe'));
			})['on'](_0x76f4('0xf'), _0x76f4('0x6'), function() {
				var _0x2157f9 = _0x56d142(this),
					_0x4b53ac = _0x2176a7[_0x76f4('0x10')](_0x76f4('0x7'));
				if(_0x4b53ac === !![] && _0x2157f9['is']('.has-sub') && _0x2157f9['parent']('.site-menu')[_0x76f4('0x9')]) {
					_0x2157f9[_0x76f4('0xb')](_0x76f4('0xc'))[_0x76f4('0x11')](_0x76f4('0x12'), '');
				}
				_0x2157f9[_0x76f4('0x13')](_0x76f4('0xe'));
			})['on'](_0x76f4('0x14'), _0x76f4('0x15'), function() {
				_0x56d142(this)[_0x76f4('0x13')](_0x76f4('0x16'));
			})['on'](_0x76f4('0x17'), _0x76f4('0x6'), function() {
				_0x56d142(this)[_0x76f4('0xd')](_0x76f4('0x16'));
			})['on'](_0x76f4('0x18'), _0x76f4('0x6'), function(_0x3e809f) {
				var _0x435534 = _0x56d142(this);
				_0xfc2405[_0x76f4('0x19')](_0x435534, function() {
					_0x435534[_0x76f4('0xd')](_0x76f4('0x1a'));
				});
				if(_0xfc2405['accordion'] && _0x435534[_0x76f4('0x1b')]('li.has-sub')[_0x76f4('0x9')] <= 0x1) {
					_0x435534[_0x76f4('0x1c')](_0x76f4('0x1d'))['trigger']('close.site.menu');
				}
				_0x3e809f['stopPropagation']();
			})['on'](_0x76f4('0x1e'), _0x76f4('0x1f'), function(_0x14bfe5) {
				var _0x2b6d51 = _0x56d142(this);
				_0xfc2405[_0x76f4('0x20')](_0x2b6d51, function() {
					_0x2b6d51[_0x76f4('0x13')](_0x76f4('0x1a'));
				});
				_0x14bfe5['stopPropagation']();
			})['on']('click.site.menu\x20', _0x76f4('0x21'), function() {
				var _0x497913 = _0x56d142(this),
					_0x288365 = _0x497913['parent']();
				if(_0x288365['is']('.has-sub')) {
					if(_0x288365['is']('.open')) {
						_0x288365[_0x76f4('0x22')](_0x76f4('0x1e'));
					} else {
						_0x288365[_0x76f4('0x22')](_0x76f4('0x18'));
					}
				} else {
					_0x497913[_0x76f4('0x1b')]('li')[_0x76f4('0x1c')]('.open')[_0x76f4('0x22')]('close.site.menu');
					_0x497913['closest']('li.has-sub')[_0x76f4('0x1c')](_0x76f4('0x1d'))[_0x76f4('0x22')](_0x76f4('0x1e'));
					_0x497913['parents'](_0x76f4('0x23'))['siblings']()[_0x76f4('0x24')](_0x76f4('0x25'))[_0x76f4('0x22')](_0x76f4('0x1e'));
					_0x497f99[_0x76f4('0x24')]('li.active')['trigger'](_0x76f4('0x14'));
					_0x288365[_0x76f4('0x22')](_0x76f4('0x17'));
				}
			})['on'](_0x76f4('0x26'), _0x76f4('0x27'), function() {
				var _0x3780b6 = _0x56d142(this)[_0x76f4('0x28')](_0x76f4('0x6')),
					_0x2a13ca = _0x2176a7[_0x76f4('0x10')](_0x76f4('0x7'));
				if(!_0x2a13ca) {
					return;
				}
				if(_0x3780b6['is'](_0x76f4('0x8')) && _0x3780b6['parent']('.site-menu')['length']) {
					_0x3780b6['siblings'](_0x76f4('0x29'))[_0x76f4('0x13')](_0x76f4('0xe'));
					if(_0x3780b6['is'](_0x76f4('0x29'))) {
						_0x3780b6[_0x76f4('0x13')]('hover');
					} else {
						_0x3780b6[_0x76f4('0xd')](_0x76f4('0xe'));
					}
				}
			})['on'](_0x76f4('0x2a'), _0x76f4('0xc'), function(_0x30ed06) {
				_0x30ed06[_0x76f4('0x2b')]();
			});
		},
		'_collapse': function(_0xb806cc, _0x28d9d6) {
			var _0x113469 = this;
			_0xb806cc[_0x76f4('0xb')](_0x76f4('0xc'))[_0x76f4('0x2c')](_0x113469[_0x76f4('0x2d')], function() {
				if(_0x28d9d6) {
					_0x28d9d6();
				}
				_0x113469[_0x76f4('0x1')][_0x76f4('0x22')](_0x76f4('0x2e'));
			});
		},
		'_expand': function(_0x3308e3, _0x336b5e) {
			var _0x597119 = this;
			_0x3308e3[_0x76f4('0xb')](_0x76f4('0xc'))[_0x76f4('0x2f')](_0x597119['speed'], function() {
				if(_0x336b5e) {
					_0x336b5e();
				}
				_0x597119['$siteMenubar'][_0x76f4('0x22')]('expanded.site.menu');
			});
		},
		'refresh': function() {
			var _0x229d1e = this['$siteMenubar'];
			_0x229d1e[_0x76f4('0x24')](_0x76f4('0x25'))[_0x76f4('0x22')](_0x76f4('0x1e'));
			_0x229d1e[_0x76f4('0x24')](_0x76f4('0x30'))[_0x76f4('0x22')](_0x76f4('0x14'));
		},
		'position': function(_0x16779e, _0x80e29f) {
			var _0x5340a9 = _0x16779e[_0x76f4('0xa')]()[_0x76f4('0x31')],
				_0x5b8d2d = _0x56d142(_0x76f4('0x32'))[_0x76f4('0x33')](),
				_0x1f7bac = _0x16779e[_0x76f4('0x24')](_0x76f4('0x34'))[_0x76f4('0x33')]();
			_0x80e29f[_0x76f4('0x13')]('site-menu-sub-up')[_0x76f4('0x11')](_0x76f4('0x12'), '');
			if(_0x5340a9 > _0x5b8d2d / 0x2) {
				_0x80e29f['addClass']('site-menu-sub-up');
				if(_0x56d142[_0x76f4('0x35')][_0x76f4('0x36')][_0x76f4('0x37')]) {
					_0x5340a9 = _0x5340a9 - _0x1f7bac;
				}
				_0x80e29f[_0x76f4('0x11')](_0x76f4('0x12'), _0x5340a9 + _0x1f7bac);
			} else {
				if(_0x56d142['site'][_0x76f4('0x36')][_0x76f4('0x37')]) {
					_0x5340a9 = _0x5340a9 + _0x1f7bac;
				}
				_0x80e29f[_0x76f4('0x13')](_0x76f4('0x38'));
				_0x80e29f[_0x76f4('0x11')](_0x76f4('0x12'), _0x5b8d2d - _0x5340a9);
			}
		}
	};
}(window, document, jQuery));